<div class="left_content">
	<form action="<?php echo base_url('user/checklogin'); ?>" id="signup-form" class="form-horizontal" method="post">
		<fieldset>
			<legend>LOG-IN</legend>
			<?php
			$error_message = $this->session->flashdata("error_message");
			if(!empty($error_message)){
				?>
				<div class="alert alert-error">
					<h4>ผิดผลาด!</h4>
						<?php echo $error_message;?>
				</div>
				<?php
			}
			?>

		<div class="control-group">
		<label class="control-label" for="Username">Username</label>
			<div class="controls">
		        <input type="text" class="input-xlarge" name="username" id="username">
			</div>
		</div>
		<div class="control-group">
		<label class="control-label" for="password">Password</label>
			<div class="controls">
		        <input type="password" class="input-xlarge" name="password" id="password">
			</div>
		</div>
		<div class="control-group">
				<div class="controls">
		      <button type="submit" class="btn btn-primary" id="submitbtn" name="submitbtn" value="submitbtn">เข้าระบบ</button>
		      <button type="reset" class="btn">ยกเลิก</button>
		     </div>
		</div>
		</fieldset>
	</form>
</div>